package com.example.demo.gangOfFour_design.strategy_celue.context;

import com.example.demo.gangOfFour_design.strategy_celue.calc.Calc;

/**
 * @Author dbin
 * @Date 2020/1/9
 **/


public class BaseContext {
    private Calc calc;
    public BaseContext(Calc calc){
        this.calc=calc;
    }

    public int doAction(int a, int b){

        return calc.doOption(a, b);
    }
}
